home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1994, Silicon Graphics, Inc.
- * All Rights Reserved.
- *
- * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
- * the contents of this file may not be disclosed to third parties, copied or
- * duplicated in any form, in whole or in part, without the prior written
- * permission of Silicon Graphics, Inc.
- *
- * RESTRICTED RIGHTS LEGEND:
- * Use, duplication or disclosure by the Government is subject to restrictions
- * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
- * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
- * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
- * rights reserved under the Copyright Laws of the United States.
- */
- /*
- | MyGrids.h
- |
- | Author(s): Paul Isaacs
- |
- */
-
- // This file contains the strings describing
- // the two grids used in noodle
- //
- // char *myGridBuffer
- // char *myGrdiXYBuffer
- //
-
- char *myGridBuffer =
- { "#Inventor V1.0 ascii\n\
- \n\
- Separator {\n\
- PickStyle { style UNPICKABLE }\n\
- LightModel { model BASE_COLOR }\n\
- NormalBinding { value DEFAULT }\n\
- # Grid\n\
- BaseColor { rgb 0.2 0.2 0.2 }\n\
- Array {\n\
- numElements1 61\n\
- separation1 .5 0 0\n\
- origin CENTER\n\
- \n\
- Coordinate3 { point [ 0 -15 -.00001, 0 15 -.00001 ] }\n\
- LineSet { numVertices [ 2 ] }\n\
- }\n\
- Array {\n\
- numElements1 61\n\
- separation1 0 .5 0\n\
- origin CENTER\n\
- \n\
- Coordinate3 { point [ -15 0 -.00001, 15 0 -.00001 ] }\n\
- LineSet { numVertices [ 2 ] }\n\
- }\n\
- # Axes\n\
- BaseColor { rgb 0.4 0.0 0.0 }\n\
- Coordinate3 { point [ -15.0 0.0 0.0, 15.0 0.0 0.0,\n\
- 0.0 -15.0 0, 0.0 15.0 0.0 ]\n\
- }\n\
- LineSet { numVertices [ 2, 2 ] }\n\
- }"};
-
-
-
- char *myGridXYBuffer =
- { "#Inventor V1.0 ascii\n\
- \n\
- Separator {\n\
- PickStyle { style UNPICKABLE }\n\
- LightModel { model BASE_COLOR }\n\
- NormalBinding { value DEFAULT }\n\
- # Grid\n\
- BaseColor { rgb 0.2 0.2 0.2 }\n\
- Array {\n\
- numElements1 61\n\
- separation1 .5 0 0\n\
- origin CENTER\n\
- \n\
- Coordinate3 { point [ 0 -.00001 -15, 0 -.00001 15 ] }\n\
- LineSet { numVertices [ 2 ] }\n\
- }\n\
- Array {\n\
- numElements1 61\n\
- separation1 0 0 .5\n\
- origin CENTER\n\
- \n\
- Coordinate3 { point [ -15 -.00001 0, 15 -.00001 0 ] }\n\
- LineSet { numVertices [ 2 ] }\n\
- }\n\
- # Axes\n\
- BaseColor { rgb 0.4 0.0 0.0 }\n\
- DrawStyle { lineWidth 2 }\n\
- Coordinate3 { point [ -15.0 0.0 0.0, 15.0 0.0 0.0,\n\
- 0.0 0.0 -15.0, 0.0 0.0 15.0 ]\n\
- }\n\
- LineSet { numVertices [ 2, 2 ] }\n\
- }" };
-